projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341096f
)
osbuild: Don't use linux-user-chroot for git submodules
author
Colin Walters
<walters@verbum.org>
Wed, 22 Feb 2012 16:51:18 +0000
(11:51 -0500)
committer
Colin Walters
<walters@verbum.org>
Wed, 22 Feb 2012 16:51:18 +0000
(11:51 -0500)
On the ostree.gnome.org build server, LDAP is used for username
lookups, and git aborts if it can't look up the user.
src/ostbuild/pyostbuild/vcs.py
patch
|
blob
|
history
diff --git
a/src/ostbuild/pyostbuild/vcs.py
b/src/ostbuild/pyostbuild/vcs.py
index adf947a81327c904b74ff991a48af98eb18b3f4d..cbb6b0e7d55eb9816442411a9e1e377c5e19408c 100755
(executable)
--- a/
src/ostbuild/pyostbuild/vcs.py
+++ b/
src/ostbuild/pyostbuild/vcs.py
@@
-63,9
+63,7
@@
def get_vcs_checkout(mirrordir, keytype, uri, dest, branch, overwrite=True):
run_sync(['git', 'submodule', 'init'], cwd=tmp_dest)
have_submodules = _fixup_submodule_references(mirrordir, tmp_dest)
if have_submodules:
- run_sync(['linux-user-chroot',
- '--unshare-net', '--chdir', tmp_dest, '/',
- '/usr/bin/git', 'submodule', 'update'])
+ run_sync(['git', 'submodule', 'update'])
os.rename(tmp_dest, dest)
return dest